#
# HoI - Japan 
#
#
# 492000 to 492004 - Nomonhan Incident (by Steel)
# 492005 to 492007 - Japan's Choice (by Steel)
# 492008 - Panay Incident (by Steel)
# 492009 to 492011 - Kiri Project (by Steel)
# 492012 to 492013 - Anti-Comintern Pact (by Steel)
# 492014 - Tripartite Pact (by Steel)
# 492015 - Dutch East Indies (by Steel)
# 492016 to 492023 - RESERVED
# 492024 - German Military mission to China 1937 (by Steel)
# 492025 to 492026 - Japanese trade with Germany (by Steel)
# 492027 - Tripartite Pact and German colonies (by SykoNurse)
# 492028 to 492029 - Marco Polo Bridge Incident (by Steel)
# 492030 - Tsing-tao evacuation (by Steel)
# 492031 - Shanghai Incident escalates (by Steel)
# 492032 - Chengchow Flooding (by Steel) 
#
# LIMIT: 492000 - 521999
#
#
#


############################# 
# Japan's Response
###########################
event = { 
	id = 492012
	random = no
	country = JAP
	
	# Japan responds
	# Triggered by GER 172021
       
	name = "Anti-Comintern Pact proposal (JAP)"
	desc = "In a move to contain the destabilising influence of the Comintern, Germany is offering to sign a five year Anti-Comintern Pact with Japan."
	style = 0
	
	action_a = {
		name = "Sign the Pact!" 
		command = { type = influence value = 5 }     			# Japan is a global power
		command = { type = dissent value = -3 }				# a strong ally is good for Japan
		command = { type = alignment which = fascist value = 5 } 	# Move away from Communism
		command = { type = warentry which = JAP value = 5 }
		command = { type = trigger which = 172022 }  			# German effects

	}
	action_b = {
		name = "No, we dare not provoke the USSR." 
		command = { type = influence value = -1 } 
		command = { type = alignment which = democratic value = 10 } 
	}
}


############################# 
# Japan's Response
###########################
event = { 
	id = 492014
	random = no
	country = JAP
	
	# Japan responds
	# Triggered by GER 172026
       
	name = "Tripartite Pact proposal (JAP)"
	desc = "With this Pact, Japan's claims in Asia are recognised. Germany will rule northern Europe and Italy shall control the Mediterranean lands."
	style = 0
	
	action_a = {
		name = "Sign the Pact!" 
		command = { type = influence value = 5 }     			# Japan is a global power
		command = { type = dissent value = -3 }				# a strong ally is good for Japan
		command = { type = alignment which = fascist value = 5 } 	# Move away from Communism
		command = { type = warentry which = JAP value = 5 }
		command = { type = trigger which = 462002 } 			# Italy's response
	}
	action_b = {
		name = "No, Japan will stand alone." 
		command = { type = influence value = -1 } 
		command = { type = alignment which = democratic value = 10 } 	# democracy is the future
		command = { type = trigger which = 462003 } 			# Italy's response
	}
}


############################# 
# Dutch East Indies - Japan
###########################

event = { 
	id = 492015
	random = no
	country = JAP
	
	# The Tripartite Pact has been honoured

	trigger = {
		event = 172031 # Germany honours the Pact
	}
       
	date = { day = 1 month = july year = 1940 }
	offset = 5
	deathdate = { day = 30 month = december year = 1947 }

	name = "Japan seizes control of Dutch East Indies! (JAP)"
	desc = "With the final surrender of Dutch forces, Japan has gained control over the rich colonies in the Dutch East Indies."
	style = 0

	action_a = {
		name = "This is great news for Japan" 
		command = { type = dissent value = -5 }				# A proud moment for Japan as a colonial power is destroyed
		command = { type = influence value = 10 }     			# Nations must respect the influence of Japan
		command = { type = warentry which = USA value = 2 }		# American people call for action against the Axis
	}
}

####################################################################
# 492027 - (JAP) Tripartite Pact and German colonies (by SykoNurse) 
####################################################################
event = { 
	id = 492027 
	random = no
	country = JAP

	# triggered by GER 172078 

	name = "Germany cedes colonies to us!"
	desc = "The Tripartite Pact divided the world into spheres of influence. The former German colonies in the Pacific clearly fell into the Japanese sphere. Now that France, Great Britain and Australia are defeated, Germany had to cede Kaiser-Wilhelm-Land, the Mariane Islands, Marshall Islands and the Samoas to her ally Japan."
	style = 0

	action_a = {
		name = "Great"
		command = { type = addcore which = 1988	}	#Goroka
		command = { type = addcore which = 1989	}	#Wewak
		command = { type = addcore which = 2023	}	#Lae
		command = { type = addcore which = 2025	}	#New Britain
		command = { type = addcore which = 1990	}	#Admirality Islands
		command = { type = addcore which = 1991	}	#New Ireland
		command = { type = addcore which = 1966	}	#North Solomon Islands
		command = { type = addcore which = 1928	}	#Yaren
		command = { type = addcore which = 63	}	#Samoa
		command = { type = addcore which = 1923	}	#Marshall Islands
		command = { type = addcore which = 1919	}	#Kwajalein
		command = { type = addcore which = 1915	}	#Taongi
		command = { type = addcore which = 1909	}	#Bikini
		command = { type = addcore which = 1899	}	#Eniwetok
		command = { type = addcore which = 1903	}	#Palikir
		command = { type = addcore which = 2035	}	#Truk
		command = { type = addcore which = 2002	}	#Caroline Islands
		command = { type = addcore which = 1998	}	#Palau
		command = { type = addcore which = 1937	}	#Mariane Islands
		}
}

#########################################################################
# 1500002 - Partisan attacks increase (by Copper Nicus)
#########################################################################
event = { 
	id = 492082
	random = no
	country = JAP

	trigger = {
		random = 20
		OR = {
			war = { country = JAP country = CHC }
			NOT = {
				exists = CHC
			}
		}
		OR = {
		control = { province = 1608 country = JAP }
		control = { province = 1732 country = JAP }
		control = { province = 1734 country = JAP }
		}
	}


	name = "Increase of partisan attacks in Japanese-occupied territory"
	desc = "While Japan originally faced few problems in occupying parts of China and Indochina they would gradually come under pressure from guerilla attacks.  Attacks on outposts, sabotage against supply lines and attacks on Japanese garrison units become common in the occupied territiories.  In China, the irregular warfare was primarily the Communist forces controlled by Mao Zedong while in Indochina it was the Viet Minh (who would later fight the French).  Due to the inability of Japanese forces to secure the vast territories conquered, the guerillas could always find a weakly defended target and their attacks were often quite successful."

	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 10 # Check for trigger conditions every 20 days
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
		name = "Contribute men and materiel to counter partisan activity"
		command = { type = gain_tech which = 11511 } # Doctrine
	}

}



##########################
#  Military aid to CHI
##########################

event = { 
	id = 492081
	random = no
	country = JAP
	
	name = "Enforcing the new rule (JAP)"
 	desc = "With the new Chinese government taking orders from Tokyo, the time has come to fully assert Japanese control over the Chinese army.  Officers will be assigned to every Chinese formation to ensure discipline and control.  Chinese equipment will be replaced with superior Japanese technology and supplies, but as payment the Japanese governors will take control over Chinese industry and many industries will be moved to Japan.  Some ministers are arguing that a reduced program, limiting both tech transfer and industry relocation, will be less costly in the short term and less likely to cause dissent in China."
	style = 0

	trigger = {
		puppet = { country = CHI country = JAP } # Kiri project or puppet via diplo
		owned = { province = 1822 data = JAP }  # to make sure Japan isn't practically defeated
	}

        date = { day = 0 month = january year = 1938 }
        offset = 30
	deathdate = { day = 29 month = december year = 1947 }

	action_a = {
		name = "Institute the full transfer program" 
		command = { type = industry which = 1822 value = 10 } # Tokyo
		command = { type = industry which = 1823 value = 5 } # Nagoya
		command = { type = industry which = 1821 value = 5 } # Nigata
		command = { type = industry which = 1820 value = 5 } # Fukushima
		command = { type = dissent value = -2 }
		command = { type = supplies value = -1000 }
		command = { type = trigger which = 522026 }
	}
	action_b = {
		name = "Make limited transfers only"
		command = { type = industry which = 1822 value = 5 } # Tokyo
		command = { type = industry which = 1823 value = 3 } # Nagoya
		command = { type = industry which = 1821 value = 2 } # Nigata
		command = { type = industry which = 1820 value = 2 } # Fukushima
		command = { type = dissent value = -1 }
		command = { type = supplies value = -1000 }
		command = { type = trigger which = 522027 }
	}
}

#########################################################################
#  Japanese diplomatic protests
#########################################################################
event = { 
	id = 492024
	random = no
	country = JAP
	
	# Triggered by continued German mission in China 1937 and Sino-Japanese War

	trigger = {
		event = 522005
		war = { country = JAP country = CHI }
		NOT = {
		war = { country = GER country = JAP }
		}
	}
        date = { day = 1 month = june year = 1937 }
        offset = 60
	deathdate = { day = 29 month = october year = 1937 }
	
	name = "The Japanese protest against German intervention in China"
	desc = "The Germans provision of extensive military support to the Chinese did not go unnoticed. The Japanese believed that this interference by a European power was unacceptable, leading them to lodge strong protests with the German ambassador, even going so far as to demand the immediate recall of the German mission from China."
	style = 0

	action_a = {
		name = "Demand recall of the German mission from China."
		command = { type = trigger which = 172039 }
	}
	action_b = {
		name = "We will not risk damaging our relations with Germany. China will fall anyway."
		command = { type = influence value = -3 } # Loss of face
	}
}


#########################################################################
#  Japanese trade with Germany 1938
#########################################################################
event = { 
	id = 492025
	random = no
	country = JAP
	
	# Japanese trade with Germany

	trigger = {
		event = 522008
		NOT = {
		war = { country = GER country = JAP }
		war = { country = GER country = ENG } # sleep if Germany is blockaded
		}
	}
        date = { day = 1 month = april year = 1938 }
        offset = 60
	deathdate = { day = 29 month = july year = 1938 }

	
	name = "Japanese trade with Germany"
	desc = "Germany put considerable weight into negotiations with Japan over the recognition of Manchukuo. The Japanese government offered considerable trade concessions, including strategic materials critical to German industry. Signing of the agreement meant the end to German trade with China. Following the German recognition of Manchukuo, Japan committed to shipping strategic materials for use in Germany industry to make up for shortfalls from the cessation of Chinese shipments but historically these shipments were never made."
	style = 0

	action_a = {
		name = "Our goal is achieved and the resources are needed for our own production."
		command = { type = trigger which = 172042 }
	}
	action_b = {
		name = "Honor the agreement and ship the resources."
		command = { type = rubberpool value = -1000 }
		command = { type = trigger which = 172043 }
	}
}


#########################################################################
#  Japanese trade with Germany 1939
#########################################################################
event = { 
	id = 492026
	random = no
	country = JAP
	
	# Japanese trade with Germany

	trigger = {
		event = 522008
		NOT = {
		war = { country = GER country = JAP }
		war = { country = GER country = ENG } # sleep if Germany is blockaded
		}
	}
        date = { day = 1 month = april year = 1939 }
        offset = 60
	deathdate = { day = 29 month = july year = 1939 }

	
	name = "Japanese trade with Germany"
	desc = "Germany put considerable weight into negotiations with Japan over the recognition of Manchukuo. The Japanese government offered considerable trade concessions, including strategic materials critical to German industry. Signing of the agreement meant the end to German trade with China. Following the German recognition of Manchukuo, Japan committed to shipping strategic materials for use in Germany industry to make up for shortfalls from the cessation of Chinese shipments but historically the shipments were never made."
	style = 0

	action_a = {
		name = "Our goal is achieved and the resources are needed for our own production."
		command = { type = trigger which = 172044 }
	}
	action_b = {
		name = "Honor the agreement and ship the resources."
		command = { type = rubberpool value = -1000 }
		command = { type = trigger which = 172045 }
	}
}


#########################################################################
#  Marco Polo Bridge Incident
#########################################################################
event = { 
	id = 492028
	random = no
	country = JAP
	
	# Historical event July 1937
        # http://ibiblio.org/pha/monos/144/144chap2.html

	
	name = "The Marco Polo Bridge Incident"
	desc = "Japanese garrison troops in Feng-Tai, southwest of Peiping, clashed with Chinese forces at the Marco Polo Bridge. The battle was only a local incident and hurried negotiations quickly restored order."
	style = 0

	trigger = {
                exists = CHI
		random = 50
            NOT = {
		war = { country = JAP country = CHI }
                  }   
	}

        date = { day = 1 month = july year = 1937 }
        offset = 10
	deathdate = { day = 30 month = august year = 1937 }

	action_a = {
		name = "Negotiate a settlement with the Chinese"
		command = { type = trigger which = 522010 } # Historical choice
	}
	action_b = {
		name = "Use the incident as a pretext for war with China"
                command = { type = ai which = "core_japan_central.ai" } # Switch AI to fight China
		command = { type = warentry value = 100 }
		command = { type = war which = CHI } # Ahistorical
		command = { type = war which = CHC } # Ahistorical
		command = { type = war which = SIK } # Ahistorical
		command = { type = sleepevent which = 492029 }
	}
}



#########################################################################
#  Marco Polo Bridge Incident - escalation
#########################################################################
event = { 
	id = 492029
	random = no
	country = JAP
	
	name = "The China Incident"
	desc = "Japanese garrison troops in Feng-Tai, southwest of Peiping, clashed with Chinese forces at the Marco Polo Bridge. The battle was only a local incident and negotiations quickly restored order, but the terms of the settlement were later violated by Chinese troops. There were incidents again at the bridge, as well as at Kwang-an-men and Lang-Fang."
	style = 0

	trigger = {
                event = 492028
		random = 40
            NOT = {
		war = { country = JAP country = CHI }
                  }   
	}

        date = { day = 1 month = july year = 1937 }
        offset = 2
	deathdate = { day = 30 month = september year = 1937 }

	action_a = {
		name = "Begin offensive operations against China to settle this dispute"
		command = { type = trigger which = 492016 }
		command = { type = warentry value = 12 }
		command = { type = war which = CHI } 
		command = { type = war which = CHC }
		command = { type = war which = SIK }
		command = { type = dissent value = -24 } # to counter DOW cost

	}
	action_b = {
		name = "Back down and defuse the situation diplomatically"
		command = { type = dissent value = 4 } # Ahistorical
	}
}


#########################################################################
#  Tsing-tao evacuation
#########################################################################
event = { 
	id = 492030
	random = no
	country = JAP
	
	name = "Tsing-tao evacuation (Japan)"
	desc = "As the China Incident escalated to full warfare in northern China, Japanese authorities were no longer able to protect Japanese citizens in Tsing-tao against the anger of the Chinese people. In the face of increasing numbers of violent attacks on Japanese property and citizens, the authorities ordered a full evacuation."
	style = 0

	trigger = {
		random = 3
		war = { country = JAP country = CHI }
	}

        date = { day = 1 month = july year = 1937 }
        offset = 1
	deathdate = { day = 30 month = december year = 1937 }

	action_a = {
		name = "Evacuate all Japanese citizens from Tsing-tao"
		command = { type = supplies value = -250 } 
	}
	action_b = {
		name = "We cannot spare the resources"
		command = { type = dissent value = 1 } # Ahistorical
	}
}


#########################################################################
#  Shanghai Incident escalates
#########################################################################
event = { 
	id = 492031
	random = no
	country = JAP
	
	name = "The Shanghai Incident"
	desc = "As the China Incident continued to escalate and Japan landed additional troops in North China, the Chinese army moved against the Japanese SNLF garrison in Shanghai. Fierce battles raged in the streets and the Japanese faced the choice between executing a hurried amphibious landing operation to relieve the beleagured garrison or to evacuate Japanese citizens from the city.  Due to the size of the Japanese population in Shanghai an evacuation would be an expensive and difficult operation, with a high risk for civilian casualties."
	style = 0

	trigger = {
		random = 25
		war = { country = JAP country = CHI }
                control = { province = 1698 data = CHI } # Shanghai
		NOT = {
		garrison = { country = CHI province = 1698 size = 1 }
		}
	}

        date = { day = 1 month = july year = 1937 }
        offset = 2
	deathdate = { day = 30 month = december year = 1937 }

	action_a = {
		name = "Reinforce the SNLF garrison and seize Shanghai"
		command = { type = supplies value = -1000 } 
		command = { type = manpowerpool value = -20 }
		command = { type = add_division which = marine when = 1698 } # marine div
		command = { type = add_division which = militia when = 1698 } # militia div
	}
	action_b = {
		name = "Evacuate all Japanese citizens"
		command = { type = supplies value = -500 } 
		command = { type = dissent value = 2 } # Ahistorical
	}
}


#########################################################################
#  Chengchow flooding
#########################################################################
event = { 
	id = 492032
	random = no
	country = JAP
	
	name = "The Chengchow flooding"
	desc = "The Chinese leadership showed that they fully understood the concept of total war when they destroyed the Huayuankow Dike, causing a massive flood in the Yellow River area. Thousands of Japanese soldiers drowned and all military operations came to an abrupt halt, but the civilian destruction was immense.  Eleven cities and four thousand villages were destroyed, causing several hundred thousand civilian deaths and making millions homeless.  Years later, the people of the flooded provinces would remember the ruthlessness of the KMT and be among the first to rise up against the KMT when the Chinese civil war resumed."
	style = 0

	# Triggered by 522012

	action_a = {
		name = "This is a disaster"
		command = { type = manpowerpool value = -6 } # military losses
                command = { type = supplies value = -500 }
	}
}

#########################################################################
#  Nomonhan Incident
#########################################################################
event = { 
	id = 492000
	random = no
	country = JAP
	
	# Historical event May to August 1939
        # http://ibiblio.org/pha/monos/144/144chap4.html#Nomonham Incident (May - August 1939)

	
	name = "Nomonhan Incident (JAP)"
	desc = "The earlier border clashes have escalated and our troops are being hard pressed by several Soviet brigades.  The Kwantung Army commander is requesting immediate reinforcements and air support in order to be able to retake the initiative.  An offensive is planned to take Nomonhan village and drive on the west bank of the Halha."
	style = 0

	trigger = {
		event = 492093
		NOT = {
			war = { country = JAP country = SOV }
			war = { country = GER country = SOV }
			alliance = { country = JAP country = SOV }
                  }   
	}

        date = { day = 25 month = april year = 1939 }
        offset = 30
	deathdate = { day = 20 month = august year = 1939 }

	action_a = {
		name = "Strike now and teach the Soviet troops a lesson" # Send a corps and some air units
                command = { type = manpowerpool value = -40 } # commit troops to the offensive
                command = { type = supplies value = -1500 }
	}
	action_b = {
		name = "Disengage and withdraw the Kwantung Army"
                command = { type = manpowerpool value = -5 } # limited losses
                command = { type = supplies value = -200 }
		command = { type = dissent value = 2 } # the officer corps disapproves
		command = { type = sleepleader which = -1 } # officer resignations / court martials
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = trigger which = 222002 } # Soviet minor victory
	}
}

#########################################################################
#  Minor victory at Nomonhan village
#########################################################################
event = { 
	id = 492001
	random = no
	country = JAP
	
	# Triggered by SOV 222093
	
	name = "Victory at Nomonhan village (JAP)"
	desc = "After several weeks of fighting and heavy losses on both sides, the Soviet leadership has accepted our terms and withdrawn their troops from Nomonhan village and Halha River.  This has proven that the Imperial Army is superior to the Red Army."
	style = 0
	

	action_a = {
		name = "Celebrate this victory" 
                command = { type = manpowerpool value = 30 } # recover manpower
                command = { type = supplies value = 1000 } # recover supplies
		command = { type = dissent value = -2 } # a victory
		command = { type = sleepevent which = 492002 }
		command = { type = sleepevent which = 492003 }
	}
}

#########################################################################
#  Japan is defeated at Khalkin Ghol!
#########################################################################
event = { 
	id = 492002
	random = no
	country = JAP
	
	name = "Soviet counter-offensive at Nomonhan village (JAP)"
	desc = "Kwantung Army commanders report enemy counter-attacks with more than 300 tanks and hundreds of armored cars.  Our position on Hill 721 has been lost after days of hard fighting and our remaining forces are being pushed east of Nomonhan village.  We must seek terms at once or face the collapse of our front!"
	style = 0

	trigger = {
		event = 222093
		random = 80
		NOT = {
		event = 492003
		}
	}

        date = { day = 25 month = april year = 1939 }
        offset = 5
	deathdate = { day = 20 month = august year = 1939 }

	action_a = {
		name = "Accept Soviet terms"
		command = { type = dissent value = 4 } # a defeat (MP/supplies already deducted)
		command = { type = gain_tech which = -1 } # lessons learned from the analysis of the battle
		command = { type = gain_tech which = -1 }
		command = { type = gain_tech which = -1 }
		command = { type = sleepevent which = 492003 }
	}
	action_b = {
		name = "Mobilise all available forces and declare war"
		command = { type = war which = SOV }
		command = { type = dissent value = -2 } # balance for DOW effect
		command = { type = trigger which = 222094 } # Soviet war event
		command = { type = sleepevent which = 492003 }
	}
}

#########################################################################
#  Soviet counter-attack fails at Khalkin Ghol!
#########################################################################
event = { 
	id = 492003
	random = no
	country = JAP
	
	name = "Soviet counter-offensive at Nomonhan village (JAP)"
	desc = "Kwantung Army commanders report that a Soviet counter-attacks with more than 300 tanks and hundreds of armored cars has been stopped by the defenders of Hill 721.  This is an enormous defeat for the Soviet forces and it has seriously compromised their position and influence in the Far East.  Signal intercept reports that the enemy commander, General Zhukov, has been relieved of his command and placed under arrest."
	style = 0

	trigger = {
		event = 222093
		random = 20
		NOT = {
		event = 492002
		}
	}

        date = { day = 25 month = april year = 1939 }
        offset = 5
	deathdate = { day = 20 month = august year = 1939 }
	
	action_a = {
		name = "Offer terms to the Soviet government"
		command = { type = dissent value = -10 } # a fantastic victory.  MP/supplies already deducted
		command = { type = gain_tech which = -1 } # lessons learned from analysis of the battles
		command = { type = gain_tech which = -1 }
		command = { type = gain_tech which = -1 }
		command = { type = trigger which = 222095 } # Soviet defeat event
		command = { type = sleepevent which = 492002 }
	}
	action_b = {
		name = "Exploit this advantage and declare war"
		command = { type = war which = SOV }
		command = { type = dissent value = -10 } # MP/supplies already deducted
		command = { type = trigger which = 222094 } # Soviet war event
		command = { type = sleepevent which = 492002 }
	}
}

#########################################################################
#  Obsolete
#########################################################################
#event = { 
#	id = 492004
#	random = no
#	country = JAP
#	
#	# Triggered by SOV 222003
#	
#	name = "Japanese full scale intervention triggers war! (Japan)"
#	desc = "Japanese intervention in Manchuria have brought Japan to war with the USSR!"
#	style = 0
#	
#	action_a = {
#		name = "OK" # War!
#		command = { type = war which = MON }
#                command = { type = dissent value = 10 }          # many oppose this new war
#                command = { type = ai which = "core_japan_north.ai" } # Switch AI to fight USSR
#
#	}
#}

#########################################################################
#  Disable japan_north.ai if Bitter Peace occurs
#########################################################################
event = { 
	id = 492005
	random = no
	country = JAP
	
	# Triggered by SOV 2646 Bitter Peace
	
	trigger = {
		ai = yes
		event = 2646
             NOT = {
		war = { country = JAP country = SOV }
		} 
	}
        offset = 15

	name = "Japan achieves war goals against USSR (Japan)"
	desc = "Japanese forces have defeated the USSR and are now free to fight in other theatres."
	style = 0
	
	action_a = {
		name = "OK" 
		command = { type = alignment which = fascist value = -5 }
                command = { type = ai which = "core_japan_south.ai" } # Switch AI to fight western Allies

	}
}


# - Japan's choice between Siberia and the Pacific after China is defeated.


#########################################################################
#  The choice between Siberia or the Pacific
#########################################################################
event = { 
	id = 492006
	random = no
	country = JAP
	
	# Triggered by peace with NatChi, US, SOV and UK


	trigger = {
		ai = yes
		random = 50
		control = { province = 1695 data = -1 } # We control Nanjing
		control = { province = 1698 data = -1 } # We control Shanghai
		control = { province = 1704 data = -1 } # We control Guangzhou
		control = { province = 1700 data = -1 } # We control Zhanjiang
		control = { province = 1563 data = -1 } # We control Beijing
             NOT = {
		war = { country = JAP country = SOV }
		war = { country = JAP country = USA }
		war = { country = JAP country = ENG }
                  }  
	} 

        date = { day = 1 month = july year = 1938 }
        offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	name = "Japan's Choice - North or South? (Japan)" 
	desc = "The victorious armed forces of Japan seek new direction for expansion. There are great resources to be found in Soviet-held Sibera, but also among the colonial areas of south east Asia and the Pacific region."
	style = 0
	
	action_a = {
		name = "The Southern Resource Area must be targeted first."
		command = { type = alignment which = fascist value = -25 }
                command = { type = dissent value = -10 } # Army and populace is pleased with this daring plan and the progress made
                command = { type = manpowerpool value = 10 }   # volunteers from Greater Japan for new conquests
                command = { type = ai which = "core_japan_south.ai" } # Switch AI to fight Allies, Dutch and US
		command = { type = sleepevent which = 492016 } # Sleep central.ai events
		command = { type = sleepevent which = 492017 } # Sleep central.ai events
		command = { type = sleepevent which = 492018 } # Sleep central.ai events
		command = { type = sleepevent which = 492019 } # Sleep central.ai events
		command = { type = sleepevent which = 492020 } # Sleep central.ai events
		command = { type = sleepevent which = 492021 } # Sleep central.ai events
		command = { type = sleepevent which = 492022 } # Sleep central.ai events

                            # Still triggers event to optionally join Axis if Germany declares war on USSR
	}
	action_b = {
		name = "Siberia will provide unlimited resources and land." # Go north.
		command = { type = alignment which = fascist value = 5 }
                command = { type = dissent value = -5 } # Army and populace is pleased with the progress made but USSR is a feared opponent
                command = { type = manpowerpool value = 100 }    # Recruits from Asian countries for a great war with the ComIntern
                command = { type = supplies value = 1000 }       # Donations from Asian countries for a great war with the ComIntern
                command = { type = ai which = "core_japan_north.ai" } # Switch AI to fight USSR
		command = { type = sleepevent which = 492016 } # Sleep central.ai events
		command = { type = sleepevent which = 492017 } # Sleep central.ai events
		command = { type = sleepevent which = 492018 } # Sleep central.ai events
		command = { type = sleepevent which = 492019 } # Sleep central.ai events
		command = { type = sleepevent which = 492020 } # Sleep central.ai events
		command = { type = sleepevent which = 492021 } # Sleep central.ai events
		command = { type = sleepevent which = 492022 } # Sleep central.ai events
                            # Optionally join Axis if Germany declares war on USSR

	}
}
#########################################################################
#  Japanese opportunism and a chance to join Axis and invade USSR
#########################################################################
event = { 
	id = 492007
	random = no
	country = JAP
	
	# Triggered by JAP 492006 and German-USSR war
        # Note: This will occur even if Japan is at war with Soviets already. This is intentional.
	
	name = "Japanese opportunism (Japan)"
	desc = "This is our opportunity to strike at Vladivostok and the Siberian resources! We must join the Axis forces."
	style = 0
	
	trigger = {
		random = 15
		event = 492001 # Japanese victory at Khalkin Ghol
		control = { province = 1695 data = -1 } # We control Nanjing
		control = { province = 1698 data = -1 } # We control Shanghai
		control = { province = 1704 data = -1 } # We control Guangzhou
		control = { province = 1700 data = -1 } # We control Zhanjiang
		control = { province = 1563 data = -1 } # We control Beijing
		war = { country = GER country = SOV }
		NOT = {
			war = { country = JAP country = USA }
			war = { country = JAP country = ENG }
		}
	} 

        date = { day = 1 month = january year = 1940 }
        offset = 90
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "Join the Axis!" # War!
                command = { type = dissent value = -5 }           # The USSR will not withstand such an assault
		command = { type = alignment which = fascist value = 5 }
		command = { type = alliance which = GER }         # Join the Axis and the world shall be ours
                command = { type = ai which = "core_japan_north.ai" }  # Switch AI to fight USSR
	}
	action_b = {
		name = "No, we are not yet ready!"     # Remain independent
		command = { type = alignment which = fascist value = -20 }
                command = { type = dissent value = 5 } # We are failing the Kintomo Mushakoji-Ribbentrop Anti-ComIntern Pact
	}
}


#########################################################################
#  The Panay Incident (Japan)
#########################################################################
event = { 
	id = 492008
	random = no
	country = JAP
	
	trigger = {
		random = 50
		war = { country = JAP country = CHI }
		control = { province = 1695 data = -1 } # We control Nanjing
		NOT = {
			war = { country = JAP country = USA }
		}
	}
	
	name = "Panay Incident (Japan)"
	desc = "As Japanese forces advanced on Nanjing the diplomats from western countries were evacuated. Several US diplomatic staff were on the gunboat 'Panay' when it was attacked by Japanese aircraft."
	style = 0
	
	date = { day = 5 month = may year = 1937 }
	offset = 5
	deathdate = { day = 30 month = august year = 1939 }
	
	action_a = {
		name = "Immediately apologise and punish those involved." # Historical
                command = { type = sleepleader which = -1 }     # random leader 
		command = { type = alignment which = fascist value = -15 }
		command = { type = trigger which = 322000 }     # USA
		command = { type = influence value = -3 }
	}
	action_b = {
		name = "US forces are not welcome in Asia any longer." # hard line
		command = { type = trigger which = 322001 }     # USA
		command = { type = alignment which = fascist value = 2 }
		command = { type = influence value = 3 }        # war is the continuation of diplomacy by other means
	}
}

#########################################################################
#  Kiri Project - Japan negotiates for peace with NatChi
#########################################################################
event = { 
	id = 492009
	random = no
	country = JAP
	
	# Triggered by Japan advancing deep into China
	
	name = "Kiri Project (Japan)"
	desc = "The Chinese incident has gone too far and our army will be overstretched if we continue to advance and fight the Nationalists. We must seek peace with Chiang Kai-Shek to allow new focus in more important theaters of operations."
	style = 0
	
	trigger = {
		random = 10
		war = { country = JAP country = CHI }
		control = { province = 1695 data = -1 } # We control Nanjing
                control = { province = 1698 data = -1 } # Shanghai
                control = { province = 1704 data = -1 } # Guangzhou
                control = { province = 1724 data = -1 } # Haikou
                control = { province = 1616 data = -1 } # Gongqing
                control = { province = 1700 data = -1 } # Nanning
	}


	date = { day = 1 month = june year = 1938 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "It is time to offer peace." # Seek peace with NatChi
		command = { type = trigger which = 522001 } # Chinese response to offer

	}
	action_b = {
		name = "No, we can defeat the Chinese." # Continue war
                command = { type = dissent value = 5 } # This will be a costly and long campaign
	}
}

#########################################################################
#  Kiri Project - NatChi rejects peace offer
#########################################################################
event = { 
	id = 492010
	random = no
	country = JAP
	
	# Triggered by CHI 522001
	
	name = "Kiri project fails! (Japan)"
	desc = "The Nationalists have rejected our peace offers. We can continue this battle to the end or create a new puppet state and let them fight this war for us."
	style = 0
	
	action_a = {
		name = "The Nationalists must be destroyed."                 # War... war never changes
                command = { type = dissent value = 5 }                       # This will be a long campaign
	}
}

#########################################################################
#  Kiri project succeeds and NatChi becomes a Japanese puppet
#########################################################################
event = { 
	id = 492011
	random = no
	country = JAP
	
	# Triggered by JAP 522001
	
	name = "China and Japan signs Kiri Peace agreement (Japan)"
	desc = "After long negotiations, the Nationalist Chinese have agreed to recognise Japan as their overlords in return for most Chinese territory."
	style = 0
	
	action_a = {
		name = "Sign the peace and withdraw the army to Tokyo."     # Peace with NatChi
                command = { type = dissent value = -10 }                    # This is a great victory!
                command = { type = influence value = 10 }                   # added diplomatic recognition
		command = { type = addcore which = 1698 }                   # Add Shanghai core province (Japanese base)
		command = { type = addcore which = 1724 }                   # Add Haikou core province (Japanese base)
		command = { type = addcore which = 1704 }                   # Add Guangzhou core province  (Japanese base)
		command = { type = addcore which = 1703 }                   # Add Kowloon core province (for Hong Kong border)
#               command = { type = peace which = CHI value = 0}             # peace with China
                command = { type = make_puppet which = CHI }                # NatChi is now a puppet
                command = { type = secedeprovince which = CHI value = 1615 } # return most of former NatChi provinces to China
                command = { type = secedeprovince which = CHI value = 1618 } # 
                command = { type = secedeprovince which = CHI value = 1620 } # 
                command = { type = secedeprovince which = CHI value = 1621 } # 
                command = { type = secedeprovince which = CHI value = 1621 } # 
                command = { type = secedeprovince which = CHI value = 1622 } # 
                command = { type = secedeprovince which = CHI value = 1626 } # 
                command = { type = secedeprovince which = CHI value = 1691 } # 
                command = { type = secedeprovince which = CHI value = 1692 } # 
                command = { type = secedeprovince which = CHI value = 1693 } # 
                command = { type = secedeprovince which = CHI value = 1694 } # 
                command = { type = secedeprovince which = CHI value = 1695 } # 
                command = { type = secedeprovince which = CHI value = 1696 } # 
                command = { type = secedeprovince which = CHI value = 1697 } # 
                command = { type = secedeprovince which = CHI value = 1706 } # 
                command = { type = secedeprovince which = CHI value = 1707 }  # 
                command = { type = secedeprovince which = CHI value = 1710 } # 
                command = { type = secedeprovince which = CHI value = 1711 } # 
                command = { type = secedeprovince which = CHI value = 1713 } # 
                command = { type = secedeprovince which = CHI value = 1714 } # 
                command = { type = secedeprovince which = CHI value = 1715 } # 
                command = { type = secedeprovince which = CHI value = 1548 } # 
                command = { type = secedeprovince which = CHI value = 1554 } # 
                command = { type = secedeprovince which = CHI value = 1555 } # 
                command = { type = secedeprovince which = CHI value = 1556 } # 
                command = { type = secedeprovince which = CHI value = 1557 } # 
                command = { type = secedeprovince which = CHI value = 1558 } # 
                command = { type = secedeprovince which = CHI value = 1561 } # 
                command = { type = secedeprovince which = CHI value = 1562 } # 
                command = { type = secedeprovince which = CHI value = 1563 } # 
                command = { type = secedeprovince which = CHI value = 1564 } # 
                command = { type = secedeprovince which = CHI value = 1565 } # 
                command = { type = secedeprovince which = CHI value = 1567 } # 
                command = { type = secedeprovince which = CHI value = 1568 } # 
                command = { type = secedeprovince which = CHI value = 1569 } # 
                command = { type = secedeprovince which = CHI value = 1623 } # 
                command = { type = secedeprovince which = CHI value = 1624 } # 
                command = { type = secedeprovince which = CHI value = 1625 } # 
                command = { type = secedeprovince which = CHI value = 1627 } # 
                command = { type = secedeprovince which = CHI value = 1654 } # 
                command = { type = secedeprovince which = CHI value = 1655 } # 
                command = { type = secedeprovince which = CHI value = 1660 } # 
                command = { type = secedeprovince which = CHI value = 1661 } # 
                command = { type = secedeprovince which = CHI value = 1667 } # 
                command = { type = secedeprovince which = CHI value = 1601 } # 
                command = { type = secedeprovince which = CHI value = 1602 } # 
                command = { type = secedeprovince which = CHI value = 1606 } # 
                command = { type = secedeprovince which = CHI value = 1609 } # 
                command = { type = secedeprovince which = CHI value = 1611 } # 
                command = { type = secedeprovince which = CHI value = 1614 } # 
                command = { type = secedeprovince which = CHI value = 1700 } # 
                command = { type = secedeprovince which = CHI value = 1701 } # 
                command = { type = secedeprovince which = CHI value = 1702 } # 
                command = { type = secedeprovince which = CHI value = 1705 } # 
                command = { type = secedeprovince which = CHI value = 1708 } # 
                command = { type = secedeprovince which = CHI value = 1709 } # 
                command = { type = secedeprovince which = CHI value = 1712 } # 
                command = { type = secedeprovince which = CHI value = 1440 } # 
                command = { type = secedeprovince which = CHI value = 1502 } # 
                command = { type = secedeprovince which = CHI value = 1503 } # 
                command = { type = secedeprovince which = CHI value = 1505 } # 
                command = { type = secedeprovince which = CHI value = 1506 } # 
                command = { type = secedeprovince which = CHI value = 1508 } # 
                command = { type = secedeprovince which = CHI value = 1511 } # 
                command = { type = secedeprovince which = CHI value = 1512 } # 
                command = { type = secedeprovince which = CHI value = 1575 } # 
                command = { type = secedeprovince which = CHI value = 1576 } # 
                command = { type = secedeprovince which = CHI value = 1577 } # 
                command = { type = secedeprovince which = CHI value = 1579 } # 
                command = { type = secedeprovince which = CHI value = 1432 } # 
                command = { type = secedeprovince which = CHI value = 1433 } # 
                command = { type = secedeprovince which = CHI value = 1504 } # 
                command = { type = secedeprovince which = CHI value = 1507 } # 
                command = { type = secedeprovince which = CHI value = 1509 } # 
                command = { type = secedeprovince which = CHI value = 1513 } # 
                command = { type = secedeprovince which = CHI value = 1514 } # 
                command = { type = secedeprovince which = CHI value = 1541 } # 
                command = { type = secedeprovince which = CHI value = 1542 } # 
                command = { type = secedeprovince which = CHI value = 1543 } # 
                command = { type = secedeprovince which = CHI value = 1544 } # 
                command = { type = secedeprovince which = CHI value = 1551 } # 
                command = { type = secedeprovince which = CHI value = 1570 } # 
                command = { type = secedeprovince which = CHI value = 1571 } # 
                command = { type = secedeprovince which = CHI value = 1572 } # 
                command = { type = secedeprovince which = CHI value = 1573 } # 
                command = { type = secedeprovince which = CHI value = 1574 } # 
                command = { type = secedeprovince which = CHI value = 1612 } # 
                command = { type = secedeprovince which = CHI value = 1613 } # 
                command = { type = secedeprovince which = CHI value = 1616 } # 
                command = { type = secedeprovince which = CHI value = 1617 } # 
		command = { type = trigger which = 522002 }                  # NatChi event to secede provinces
                }
}


#########################################################################
#  The Nanking Massacre
#  Modified event with option to stop atrocity
#########################################################################
event = { 
	id = 3802
	random = no
	country = JAP
	
	trigger = {
		war = { country = JAP country = CHI }
		control = { province = 1695 data = -1 } # We control Nanjing
	}
	
	name = "EVT_3802_NAME"
	desc = "EVT_3802_DESC"
	style = 0
	
	date = { day = 2 month = january year = 1936 }
	offset = 7
	deathdate = { day = 30 month = august year = 1939 }
	
	action_a = {
		name = "We cannot control the Army" # Historical
		command = { type = trigger which = 4100 } # CHI
		command = { type = trigger which = 3724 } # USA
		command = { type = influence value = -5 }
	}
	action_b = {
		name = "Stop this atrocity and bring those responsible to justice!" # The army is reined in by the Emperor
		command = { type = alignment which = fascist value = -25 }
                command = { type = dissent value = 5 } # This is not popular with the army
                command = { type = sleepminister which = 5006 } # Kanin Kotohito opts for Seppuko for causing insult to the Emperor
                command = { type = sleepminister which = 5007 } # Kanin Kotohito
                command = { type = sleepleader which = -1 }     # random leader - Death is light as a feather
                command = { type = sleepleader which = -1 }     # random leader 
                command = { type = sleepleader which = -1 }     # random leader 
	}
}


#########################################################################
#  Enable japan_central.ai when at war with NatChi
#########################################################################
event = { 
	id = 492016
	random = no
	country = JAP
	
	# Triggered by war with NatChi
	
	trigger = {
		ai = yes
		OR = {
		war = { country = JAP country = CHI }
		war = { country = JAP country = CHC }
		}
		NOT = {
		war = { country = JAP country = SOV }
		war = { country = JAP country = ENG }
		}
	}

	date = { day = 2 month = may year = 1937 }
	offset = 7
	deathdate = { day = 1 month = january year = 1939 }

	name = "Japan commits major forces to the Chinese Incident (Japan)"
	desc = "The Japanese claims in Northern China must be recognised. The Imperial Army will enforce our will on the Chinese bandits."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_central.ai" } # Switch AI to fight China
		command = { type = alignment which = fascist value = -2 } # cannot afford to join Germany yet
	}
}

#########################################################################
#  Reload japan_central.ai when at war with NatChi
#########################################################################
event = { 
	id = 492017
	random = no
	country = JAP
	
	# Triggered by war with NatChi
	
	trigger = {
		flag = central
		random = 25
		ai = yes
		OR = {
		war = { country = JAP country = CHI }
		war = { country = JAP country = CHC }
		}
}
	date = { day = 15 month = january year = 1938 }
	offset = 15
	deathdate = { day = 1 month = july year = 1938 }

	name = "Japan reviews strategic plans in China (Japan)"
	desc = "The Japanese claims in Northern China must be recognised. The Imperial Army will enforce our will on the Chinese bandits."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_central.ai" } # Reload AI
		command = { type = alignment which = fascist value = -2 } # cannot afford to join Germany yet

	}
}

#########################################################################
#  Reload japan_central.ai when at war with NatChi
#########################################################################
event = { 
	id = 492018
	random = no
	country = JAP
	
	# Triggered by war with NatChi
	
	trigger = {
		flag = central
		ai = yes
		random = 25
		OR = {
		war = { country = JAP country = CHI }
		war = { country = JAP country = CHC }
		}
}
	date = { day = 15 month = july year = 1938 }
	offset = 15
	deathdate = { day = 1 month = january year = 1939 }

	name = "Japan reviews strategic plans in China (Japan)"
	desc = "The Japanese claims in Northern China must be recognised. The Imperial Army will enforce our will on the Chinese bandits."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_central.ai" } # Reload AI
		command = { type = alignment which = fascist value = -2 } # cannot afford to join Germany yet

	}
}

#########################################################################
#  Reload japan_central.ai when at war with NatChi
#########################################################################
event = { 
	id = 492019
	random = no
	country = JAP
	
	# Triggered by war with NatChi
	
	trigger = {
		flag = central
		ai = yes
		random = 25
		OR = {
		war = { country = JAP country = CHI }
		war = { country = JAP country = CHC }
		}
}
	date = { day = 15 month = january year = 1939 }
	offset = 15
	deathdate = { day = 1 month = july year = 1939 }

	name = "Japan reviews strategic plans in China (Japan)"
	desc = "The Japanese claims in Northern China must be recognised. The Imperial Army will enforce our will on the Chinese bandits."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_central.ai" } # Reload AI
		command = { type = alignment which = fascist value = -2 } # cannot afford to join Germany yet
	}
}

#########################################################################
#  Reload japan_central.ai when at war with NatChi
#########################################################################
event = { 
	id = 492020
	random = no
	country = JAP
	
	# Triggered by war with NatChi
	
	trigger = {
		flag = central
		random = 25
		ai = yes
		OR = {
		war = { country = JAP country = CHI }
		war = { country = JAP country = CHC }
		}
}
	date = { day = 15 month = july year = 1939 }
	offset = 15
	deathdate = { day = 1 month = january year = 1940 }

	name = "Japan reviews strategic plans in China (Japan)"
	desc = "The Japanese claims in Northern China must be recognised. The Imperial Army will enforce our will on the Chinese bandits."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_central.ai" } # Reload AI
		command = { type = alignment which = fascist value = -2 } # cannot afford to join Germany yet
	}
}

#########################################################################
#  Reload japan_central.ai when at war with NatChi
#########################################################################
event = { 
	id = 492021
	random = no
	country = JAP
	
	# Triggered by war with NatChi
	
	trigger = {
		flag = central
		ai = yes
		random = 25
		OR = {
		war = { country = JAP country = CHI }
		war = { country = JAP country = CHC }
		}
}
	date = { day = 15 month = january year = 1940 }
	offset = 15
	deathdate = { day = 1 month = january year = 1941 }

	name = "Japan reviews strategic plans in China (Japan)"
	desc = "The Japanese claims in Northern China must be recognised. The Imperial Army will enforce our will on the Chinese bandits."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_central.ai" } # Reload AI
		command = { type = alignment which = fascist value = -2 } # cannot afford to join Germany yet
	}
}

#########################################################################
#  Reload japan_central.ai when at war with NatChi
#########################################################################
event = { 
	id = 492022
	random = no
	country = JAP
	
	# Triggered by war with NatChi
	
	trigger = {
		flag = central
		ai = yes
		random = 25
		OR = {
		war = { country = JAP country = CHI }
		war = { country = JAP country = CHC }
		}
}
	date = { day = 15 month = january year = 1941 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	name = "Japan reviews strategic plans in China (Japan)"
	desc = "The Japanese claims in Northern China must be recognised. The Imperial Army will enforce our will on the Chinese bandits."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_central.ai" } # Reload AI
		command = { type = alignment which = fascist value = -2 } # cannot afford to join Germany yet
	}
}

#########################################################################
#  Load japan_south.ai if war with the Allies
#########################################################################
event = { 
	id = 492023
	random = no
	country = JAP
	
	# Triggered by war with Allies and/or USA
	
	trigger = {
		ai = yes
		OR = {
		war = { country = JAP country = USA }
		war = { country = JAP country = ENG }
		}
		NOT = {
		war = { country = JAP country = SOV }
		}
}
	date = { day = 5 month = january year = 1936 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	name = "Japan commits major forces to the Southern Resource Area (Japan)"
	desc = "This is a major change in Japan's policy."
	style = 0
	
	action_a = {
		name = "OK" 
                command = { type = ai which = "core_japan_south.ai" } # Load south.ai
		command = { type = alignment which = fascist value = -10 } # Japan fights its own war
	}
}

